package cn.oms.dict.provider.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("alert")
@ApiModel(value="Alert对象", description="")
public class Alert implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID(新增生成)")
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "警戒CODE(新增生成)")
    @TableField("ALERT_CODE")
    private String alertCode;

    @ApiModelProperty(value = "警戒名称（英文）")
    @TableField("ALERT_NAME_EN")
    private String alertNameEn;

    @ApiModelProperty(value = "警戒名称（中文）")
    @TableField("ALERT_NAME_CN")
    private String alertNameCn;

    @ApiModelProperty(value = "警戒名称（简称）")
    @TableField("ALERT_NAME_SN")
    private String alertNameSn;

    @ApiModelProperty(value = "警戒名称（拼音）")
    @TableField("ALERT_NAME_PY")
    private String alertNamePy;

    @ApiModelProperty(value = "警戒详情")
    @TableField("ALERT_DETAIL")
    private String alertDetail;

    @ApiModelProperty(value = "警戒备注")
    @TableField("ALERT_REMARK")
    private String alertRemark;

    @ApiModelProperty(value = "警戒分类(0感染 1在用药物 2临床表现 3评估 4杂项)")
    @TableField("ALERT_CATEGORY")
    private Integer alertCategory;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private LocalDate createTime;

    @ApiModelProperty(value = "删除标记")
    @TableField("DEL_FLAG")
    private Integer delFlag;


}
